<% content_for :title do %>个人资料<% end %>
<% link_to "编辑",edit_profile_path%>

<%= render :partial=>'/users/detail',:locals=>{:user=>@user}%>